﻿<fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
    <legend>密码修改</legend>
</fieldset>
<form class="layui-form" onsubmit="return false;">
    <div class="layui-form-item">
        <label class="layui-form-label">原密码</label>
        <div class="layui-input-inline">
            <input type="password" name="OldPass" required lay-verify="required" placeholder="原密码" autocomplete="off" class="layui-input" id="OldPass">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">新密码</label>
        <div class="layui-input-inline">
            <input type="password" name="NewPass" required lay-verify="required" placeholder="新密码" autocomplete="off" class="layui-input" id="NewPass">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">确认新密码</label>
        <div class="layui-input-inline">
            <input type="password" name="ConfirmPass" required lay-verify="required" placeholder="确认新密码" autocomplete="off" class="layui-input" id="ConfirmPass">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit onclick="savePost('/SysUser/UpdatePassword','/SysUser/Logout')">立即提交</button>
        </div>
    </div>
</form>
<input type="hidden" id="publicKey" value="@APPKeys.PublicKey" />

@section foot{
    <script src="~/plugins/Rsa.js"></script>
    <script src="~/js/sysuser/updatepass.js"></script>
}
